package com.atguigu.edu.handler;

import com.atguigu.edu.service.VideoServiceFeign;
import com.atguigu.response.RetVal;

import java.util.List;

/**
 * @author ：HB
 * @date ：Created in 2020/11/13 12:58
 * @description：兜底方法存放处 即有异常就到这边来
 * 去实现为哪个类兜底
 */
public class VideoServiceHandler implements VideoServiceFeign {
    @Override
    public RetVal deleteSingleVideo(String videoId) {
        return RetVal.error().message("兜底方法处理异常");
    }

    @Override
    public RetVal deleteMultiVideo(List<String> videoIdList) {
        return RetVal.error().message("兜底方法处理异常");
    }
}
